package singleResponsibility;

/**
 * @Author: 蔡翔
 * @Date: 2019/11/8 17:09
 * @Version 1.0
 */
public class Bird {
    public void mainMoveMode(String birdName){
        if(birdName.equals("鸵鸟")){
            System.out.println(birdName+"不能飞");
            return;
        }
        System.out.println(birdName+"用翅膀飞");
    }
}
